package com.browsesoft;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * 属性服务，可直接得到属性值，隐藏了属性文件名称等细节。
 * 
 * @author Browsesoft
 * @version 1.0
 */
public class PropertiesServiceRMI extends UnicastRemoteObject implements
		PropertiesServiceI {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6967179317671685645L;

	public PropertiesServiceRMI() throws Exception {
	};

	public String getProperty(String objName, String propertyName)
			throws RemoteException, Exception {
		return PropertiesService.getProperty(objName, propertyName);
	}
}
